package org.foreveross.que.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the fb_role_menu_r database table.
 * 
 */
@Entity
@Table(name="fb_role_menu_r")
public class RoleMenuREntity extends org.foreveross.que.infra.base.ddd.domain.BaseEntity {
	private static final long serialVersionUID = 1L;

    @Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private String id;
    
    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;


    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="last_time")
	private Date lastTime;

	private String mid;

	private String rid;

	private Integer state;
	
	@Column(name="sys_type")
	private String sysType;

    public RoleMenuREntity() {
    }

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastTime() {
		return this.lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getMid() {
		return this.mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public int getState() {
		return this.state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRid() {
		return rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getSysType() {
		return sysType;
	}

	public void setSysType(String sysType) {
		this.sysType = sysType;
	}
	
}